export namespace NFont {
    export enum EFontWeight  {
        normal = 400,
        bold = 700
    }
    export enum EDecoration {
        none,
        /**
         * @describe 下划线
         */
        underline,
        /**
         * @describe 上划线
         */
        overline,
        /**
         * @describe 删除线
         */
        lineThrough
    }
    export enum EFontStyle {
        normal,
        italic, // 斜体
        oblique // 倾斜
    }
    // 水平
    export enum EHorizontally {
        left,
        center,
        right
    }
    // 垂直
    export enum EVertical {
        top,
        middle,
        bottom,
    }
    export interface IFont {
        size?: number;
        color?: string;
        family?: string;
        weight?: number;
        lineHeight?: number;
        decoration?: EDecoration;
        style?: EFontStyle; // 是否斜体
        /**
         * @description 水平
         */
        horizontally?: EHorizontally;// 水平
        /**
         * @description 垂直
         */
        vertical?: EVertical;
        autoWrap?: boolean;
        letterSpace?: number;
        updateTime?: number;
    }
}
export namespace NBorder {
    export enum EBorderType {
        solid,
        dash
    }
    export interface IBorderStyle {
        width: number;
        color: string;
        type: EBorderType
    }
    export interface IBorder {
        right: IBorderStyle;
        bottom: IBorderStyle;
        top: IBorderStyle;
        left: IBorderStyle;
    }
}
export namespace NFill {
    export interface IFill {
        background?:{ color?: string }
    }
}